﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace T_settlement.Infrastructure.Migrations
{
    public partial class 销项发票 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_Audit",
                table: "Audit");

            migrationBuilder.RenameTable(
                name: "Audit",
                newName: "Output");

            migrationBuilder.AddPrimaryKey(
                name: "PK_Output",
                table: "Output",
                column: "OutputId");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_Output",
                table: "Output");

            migrationBuilder.RenameTable(
                name: "Output",
                newName: "Audit");

            migrationBuilder.AddPrimaryKey(
                name: "PK_Audit",
                table: "Audit",
                column: "OutputId");
        }
    }
}
